home *** CD-ROM | disk | FTP | other *** search
/ Tripas 4 / TRIPAS 004.iso / sin.EXE / SIN / BASE / models / tech_general.def < prev    next >
Encoding:
Text File  |  1998-11-03  |  13.5 KB  |  436 lines

  1. SDEF
  2. //  $Logfile:: /Quake 2 Engine/Sin/Base Sin Data/Models/Neutral/Tech_General. $
  3. // $Revision:: 19                                                             $
  4. //   $Author:: Mph                                                            $
  5. //     $Date:: 10/26/98 4:30a                                                 $
  6. //
  7. // Copyright (C) 1998 by Ritual Entertainment, Inc.
  8. // All rights reserved.
  9. //
  10. // This source may not be distributed and/or modified without
  11. // expressly written permission by Ritual Entertainment, Inc.
  12. //
  13. // DESCRIPTION:
  14. // This is a model definition file.  It is to be used in conjunction with Sin.
  15. // MODEL AUTHOR:
  16. // Michael 
  17. //
  18. //
  19. // No SINED section needed for this model. General Purpose model.
  20. //
  21.  
  22. //
  23. // FILE DECLARATIONS
  24. //
  25.  
  26. // Model Commands
  27. path models/tech
  28. scale 1.09
  29.  
  30. // Base Model
  31. techbase.sbm
  32.  
  33. // Skins
  34. skin5.tga
  35.  
  36. // Normal Animations
  37. idle1            idle_watch.sam    
  38.  
  39. death1    death1.sam
  40. death2    death2.sam
  41. death3    death3.sam
  42. death4    death4.sam
  43. death5    death5_backshot.sam
  44.  
  45. gibdeath_upper        tech_gibdeath1.SAM
  46. gibdeath_lower        tech_gibdeath2.SAM
  47.  
  48. pain3        pain_stomach.sam
  49.  
  50. run1        run1.sam
  51.  
  52.  
  53. walk1        walk.sam
  54.  
  55. // Pain Location Based Animations
  56. pain_head              pain_head_step.sam
  57. pain_torso_upper       pain_torso_upper.sam
  58. pain_torso_lower       pain_stomach.sam
  59. pain_leg_right_upper   pain_leg_right_upper.sam
  60. pain_leg_right_lower   pain_leg_right_lower.sam
  61. pain_leg_left_upper    pain_leg_left_upper.sam
  62. pain_leg_left_lower    pain_leg_left_lower.sam
  63. pain_arm_right_upper   pain_arm_right.sam
  64. pain_arm_right_lower   pain_arm_right.sam
  65. pain_arm_left_upper    pain_arm_left.sam
  66. pain_arm_left_lower    pain_arm_left.sam
  67.  
  68. pain1        pain_block.sam
  69.  
  70. // Death Location Based Animations
  71.  
  72. // Crouching Pain Location Based Animations
  73.  
  74. // Crouching Death Location Based Animations
  75.  
  76. // Optional Animations
  77. beg1          beg1_drop.sam
  78. beg2          beg2_down.sam
  79. begdeath1    beg_death.sam
  80. begdeath2    beg_death2.sam
  81.  
  82. crawl1        crawl1.sam
  83. crawlpain1        crawl1_pain.sam
  84. crawldeath1        crawl1_death.sam
  85. crawlbegin1        crawl_low_begin.sam
  86. crawllowdeath1    crawl_low_death.sam
  87. crawling1        crawl_low_loop.sam
  88.  
  89. drive1        drive.sam
  90.  
  91. hidedrop1        hide_drop.sam
  92. hiding1        hiding.sam
  93. crouch_down          hiding.sam
  94. hidingdeath1    hiding1_death.sam
  95. hidingdeath2    hiding2_death.sam
  96. hitalarm1        hit_alarm_high.sam
  97. hitalarm2        hit_alarm_mid.sam
  98.  
  99. write1            idle_write.sam
  100. usekeyboard1    idle_work_keys.sam
  101. usepanel1        idle_work_panel.sam
  102.  
  103. hidepain1    hiding1_pain.sam
  104. hidepain2    hiding2_pain.sam
  105.  
  106. //jump1        jumpover.sam
  107. //jump2        jumpover2.sam
  108. //jump3        jumpup.sam
  109.  
  110. punch1    punch.sam
  111.  
  112. sit1        sit1.sam
  113. sitidle1    sit_idle.sam
  114. sittwitch1    sit_idle_twitch.sam
  115. sitdeath1    sit1_death.sam
  116. sitpain1    sit1_pain_stand.sam
  117. sitstand1    sit1_stand.sam
  118.  
  119. sneakwalk1    walk_sneak.sam
  120. wpain1    walkpain.sam
  121. wpain2    walkpain2.sam
  122.  
  123. // Scripted Animations
  124.  
  125. // Id And Group Definitions        
  126.  
  127. //
  128. // Define model group areas
  129. //
  130. id 5 group head flesh 
  131. group head damage 4.0
  132. id 20 group torso_upper fabric 
  133. group torso_upper damage 1.0
  134. id 30 group torso_lower fabric 
  135. group torso_lower damage 1.0
  136. id 45 group leg_left_upper fabric 
  137. group leg_left_upper damage .8
  138. id 50 group leg_left_lower fabric 
  139. group leg_left_lower damage 0.6
  140. id 65 group leg_right_upper fabric 
  141. group leg_right_upper damage .8
  142. id 70 group leg_right_lower fabric 
  143. group leg_right_lower damage 0.6
  144. id 85 group arm_left_upper fabric 
  145. group arm_left_upper damage 0.8
  146. id 90 group arm_left_lower fabric 
  147. group arm_left_lower damage 0.6
  148. id 105 group arm_right_upper fabric 
  149. group arm_right_upper damage 0.8
  150. id 110 group arm_right_lower fabric 
  151. group arm_right_lower damage 0.6
  152. id 200 group arm_left_lower bone gun 0 0 0 flesh
  153.  
  154. //
  155. // INITIALIZATION SECTION
  156. //
  157. //
  158. !init:
  159.  
  160. //
  161. // SERVER Initialization Commands
  162. //
  163.  
  164. // Class Setup
  165. server classname actor
  166. server setsize "-16 -16 0" "16 16 80"
  167. server crouchsize "-32 -20 0" "32 20 40"
  168. server script global/neutral.scr
  169. server health 30
  170.  
  171. // Sound Aliases
  172. server aliascache snd_idle1         "monsters/technician/tech1/idle1.wav" 1
  173. server aliascache snd_idle2         "monsters/technician/tech1/idle2.wav" 1
  174. server aliascache snd_idle3         "monsters/technician/tech1/idle3.wav" 1
  175. server aliascache snd_idle4         "monsters/technician/tech1/idle4.wav" 1
  176. server aliascache snd_idle5         "monsters/technician/tech1/idle5.wav" 1
  177. server aliascache snd_beg1  "monsters/technician/tech1/beg1.wav" 1
  178. server aliascache snd_beg2  "monsters/technician/tech1/beg2.wav" 1
  179. server aliascache snd_beg3  "monsters/technician/tech1/beg3.wav" 1
  180. server aliascache snd_panic1        "monsters/technician/tech1/panic1.wav" 1
  181. server aliascache snd_panic2        "monsters/technician/tech1/panic2.wav" 1
  182. server aliascache snd_panic3        "monsters/technician/tech1/panic3.wav" 1
  183. server aliascache snd_sightenemy1        "monsters/technician/tech1/site1.wav" 1
  184. server aliascache snd_sightenemy2        "monsters/technician/tech1/site2.wav" 1
  185. server aliascache snd_sightenemy3        "monsters/technician/tech1/site3.wav" 1
  186. server aliascache snd_sightenemy4        "monsters/technician/tech1/site4.wav" 1
  187. server aliascache snd_sightenemy5        "monsters/technician/tech1/site5.wav" 1
  188.  
  189. //
  190. // CLIENT Initialization Commands
  191. //
  192.  
  193. // Sound Aliases
  194. client aliascache snd_pain1         "monsters/technician/tech1/pain1.wav" 1
  195. client aliascache snd_pain2         "monsters/technician/tech1/pain2.wav" 1
  196. client aliascache snd_pain3         "monsters/technician/tech1/pain3.wav" 1
  197. client aliascache snd_pain4         "monsters/technician/tech1/pain4.wav" 1
  198. client aliascache snd_death1        "monsters/technician/tech1/deth1.wav" 1
  199. client aliascache snd_death2        "monsters/technician/tech1/deth2.wav" 1
  200. client aliascache snd_death3        "monsters/technician/tech1/deth3.wav" 1
  201.  
  202. client aliascache snd_kneefall1 "impact/bodyfall/sml1.wav" 1
  203. client aliascache snd_kneefall2 "impact/bodyfall/sml2.wav" 1
  204. client aliascache snd_partfall1 "impact/bodyfall/med1.wav" 1
  205. client aliascache snd_partfall2 "impact/bodyfall/med2.wav" 1
  206. client aliascache snd_partfall3 "impact/bodyfall/med3.wav" 1
  207. client aliascache snd_bodyfall1 "impact/bodyfall/lrg1.wav" 1
  208. client aliascache snd_bodyfall2 "impact/bodyfall/lrg2.wav" 1
  209. client aliascache snd_whoosh1 "weapons/punch/whsh1.wav" 1
  210. client aliascache snd_whoosh2 "weapons/punch/whsh2.wav" 1
  211. client aliascache snd_crawlpain1 "monsters/technician/crawlpain.wav" 1
  212. client aliascache snd_gasp1 "monsters/technician/runbrth1.wav" 1
  213. client aliascache snd_gasp2 "monsters/technician/runbrth2.wav" 1
  214. client aliascache snd_gasp3 "monsters/technician/runbrth3.wav" 1
  215.  
  216. client aliascache snd_beep1 "environment/computer/beeps/cmpbp2.wav" 4
  217. client aliascache snd_beep2 "environment/computer/beeps/affirm4.wav" 1
  218. client aliascache snd_beep3 "environment/computer/beeps/trek7.wav" 1
  219. client aliascache snd_beep4 "environment/computer/compkey/Cmpkyht.wav" 8
  220.  
  221. client aliascache snd_keys1 "environment/computer/compkey/Cmptrkys.wav" 1
  222. client aliascache snd_keys2 "environment/computer/compkey/Cmptrky1.wav" 1
  223. client aliascache snd_keys3 "misc/null.wav" 4
  224.  
  225. //
  226. // SHARED initialization commands
  227. //
  228.  
  229. // Sound Aliases
  230.  
  231.  
  232.  
  233. //
  234. // MAIN SECTION
  235. //
  236. //
  237. !main:
  238.  
  239. // Normal Animations
  240. server death1 first deathsound
  241. client death1 first randomsound snd_death 1
  242. client death1 5 randomsound snd_kneefall 1
  243. client death1 14 randomsound snd_bodyfall 1
  244. server death2 first deathsound
  245. client death2 first randomsound snd_death 1
  246. client death2 6 randomsound snd_partfall 1
  247. client death2 10 randomsound snd_bodyfall 1
  248. server death3 first deathsound
  249. client death3 first randomsound snd_death 1
  250. client death3 13 randomsound snd_partfall 1
  251. client death3 22 randomsound snd_kneefall 1
  252. client death3 24 randomsound snd_bodyfall 1
  253. client death3 28 randomsound snd_kneefall 1
  254. server death4 first deathsound
  255. client death4 first randomsound snd_death 1
  256. client death4 15 randomsound snd_kneefall 1
  257. client death4 19 randomsound snd_bodyfall 1
  258. client death4 24 randomsound snd_kneefall 1
  259. server death5 first deathsound
  260. client death5 first randomsound snd_death 1
  261. client death5 5 randomsound snd_bodyfall 1
  262. client death5 13 randomsound snd_kneefall 1
  263.  
  264. server pain1 first painsound
  265. client pain1 first randomsound snd_pain 1
  266. server pain2 first painsound
  267. client pain2 first randomsound snd_pain 1
  268. server pain3 first painsound
  269. client pain3 first randomsound snd_pain 1
  270.  
  271. server run1 2 movementsound
  272. client run1 2 footstep
  273. server run1 5 movementsound
  274. client run1 5 footstep
  275.  
  276. server walk1 1 movementsound
  277. client walk1 1 footstep
  278. server walk1 6 movementsound
  279. client walk1 6 footstep
  280. server walk1 11 movementsound
  281. client walk1 11 footstep
  282. server walk1 16 movementsound
  283. client walk1 16 footstep
  284. server walk1 21 movementsound
  285. client walk1 21 footstep
  286. server walk1 26 movementsound
  287. client walk1 26 footstep
  288.  
  289. // Pain Location Based Animations
  290.  
  291. // Death Location Based Animations
  292.  
  293. // Crouching Pain Location Based Animations
  294.  
  295. // Crouching Death Location Based Animations
  296.  
  297. // Optional Animations
  298. server begdeath1 first deathsound
  299. client begdeath1 first randomsound snd_death 1 2
  300. client begdeath1 4 randomsound snd_bodyfall 1 4
  301. server begdeath2 first deathsound
  302. client begdeath2 first randomsound snd_death 1 2
  303. client begdeath2 9 randomsound snd_partfall 1 4
  304.  
  305. server begdeath1 first deathsound
  306. client crawldeath1 first randomsound snd_death 1 2
  307. client crawldeath1 4 randomsound snd_bodyfall 1 4
  308.  
  309. server crawllowdeath1 first deathsound
  310. client crawllowdeath1 first randomsound snd_death 1 2
  311. client crawllowdeath1 3 randomsound snd_partfall 1 4
  312.  
  313. server sitdeath1 first deathsound
  314. client sitdeath1 first randomsound snd_death 1 2
  315. client sitdeath1 3 randomsound snd_kneefall 1 4
  316.  
  317. server hidingdeath1 first deathsound
  318. client hidingdeath1 first randomsound snd_death 1 2
  319. client hidingdeath1 7 randomsound snd_partfall 1 4
  320. server hidingdeath2 first deathsound
  321. client hidingdeath2 first randomsound snd_death 1 2
  322. client hidingdeath2 1 randomsound snd_bodyfall 1 4
  323.  
  324. server wpain1 first painsound
  325. client wpain1 first randomsound snd_pain 1 2
  326. server wpain2 first painsound
  327. client wpain2 first randomsound snd_pain 1 2
  328. server crawlpain1  first painsound
  329. client crawlpain1 first randomsound snd_pain 1 2
  330. server sitpain1 first painsound
  331. client sitpain1 first randomsound snd_pain 1 2
  332. server hidepain1 first painsound
  333. client hidepain1 first randomsound snd_pain 1 2
  334. server hidepain2 first painsound
  335. client hidepain2 first randomsound snd_pain 1 2
  336.  
  337. server beg1 first movementsound
  338. client beg1 last randomsound snd_kneefall1 1 4
  339. client hidedrop1 3 randomsound snd_kneefall 1 4
  340.  
  341. //client jump1 7 randomsound snd_kneefall 1 4
  342. //client jump2 11 randomsound snd_partfall 1 4
  343. //client jump3 6 randomsound snd_kneefall 1 4
  344.  
  345. client usepanel1 2 randomsound snd_beep .6 2
  346. client usepanel1 6 randomsound snd_beep .6 2
  347. client usepanel1 14 randomsound snd_beep .6 2
  348. client usepanel1 18 randomsound snd_beep .6 2
  349. client usepanel1 19 randomsound snd_beep .6 2
  350. client usepanel1 27 randomsound snd_beep .6 2
  351. client usepanel1 31 randomsound snd_beep .6 2
  352.  
  353. client usekeyboard1 first randomsound snd_keys .7 2
  354. client usekeyboard1 6 randomsound snd_keys .7 2
  355.  
  356. server punch1 first movementsound
  357. client punch1 8 randomsound snd_whoosh 1 4
  358.  
  359. client crawling1 first randomsound snd_crawlpain .7
  360.  
  361.  
  362. server wpain1 1 movementsound
  363. client wpain1 1 footstep
  364. server wpain1 6 movementsound
  365. client wpain1 6 footstep
  366. server wpain1 11 movementsound
  367. client wpain1 11 footstep
  368. server wpain1 16 movementsound
  369. client wpain1 16 footstep
  370. server wpain1 21 movementsound
  371. client wpain1 21 footstep
  372. server wpain1 26 movementsound
  373. client wpain1 26 footstep
  374.  
  375. server wpain2 6 movementsound
  376. client wpain2 6 footstep
  377. server wpain2 15 movementsound
  378. client wpain2 15 footstep
  379. server wpain2 54 movementsound
  380. client wpain2 54 footstep
  381. server wpain2 61 movementsound
  382. client wpain2 61 footstep
  383.  
  384. server gibdeath_upper first group head +nodraw
  385. server gibdeath_upper first group torso_upper +nodraw
  386. server gibdeath_upper first group arm_left_upper +nodraw
  387. server gibdeath_upper first group arm_left_lower +nodraw
  388. server gibdeath_upper first group arm_right_upper +nodraw
  389. server gibdeath_upper first group arm_right_lower +nodraw
  390.  
  391. server gibdeath_upper first group torso_lower +skin1
  392. server gibdeath_upper first group leg_left_upper +skin1
  393. server gibdeath_upper first group leg_left_lower +skin1
  394. server gibdeath_upper first group leg_right_upper +skin1
  395. server gibdeath_upper first group leg_right_lower +skin1
  396.  
  397. server gibdeath_lower first group torso_lower +nodraw
  398. server gibdeath_lower first group leg_left_upper +nodraw
  399. server gibdeath_lower first group leg_left_lower +nodraw
  400. server gibdeath_lower first group leg_right_upper +nodraw
  401. server gibdeath_lower first group leg_right_lower +nodraw
  402.  
  403. server gibdeath_lower first group head +skin1
  404. server gibdeath_lower first group torso_upper +skin1
  405. server gibdeath_lower first group arm_left_upper +skin1
  406. server gibdeath_lower first group arm_left_lower +skin1
  407. server gibdeath_lower first group arm_right_upper +skin1
  408. server gibdeath_lower first group arm_right_lower +skin1
  409.  
  410.  
  411.  
  412. // Scripted Animations
  413.  
  414. //
  415. // SOURCESAFE Update Log
  416. //
  417. // $Log:: /Quake 2 Engine/Sin/Base Sin Data/Models/Neutral/Tech_General.def   $
  418. // 
  419. // 19    10/26/98 4:30a Mph
  420. // 
  421. // 18    10/24/98 11:48p Mph
  422. // scaled up to 1.09
  423. // 
  424. // 17    10/23/98 5:45p Beau
  425. // 
  426. // 16    10/16/98 9:53p Phook
  427. // performed sanity checks on all neutrals
  428. // 
  429. // 15    10/08/98 8:55p Mph
  430. // 
  431. // 14    9/22/98 7:50p Mph
  432. // tweaked id groups
  433. // 
  434. // 13    9/20/98 8:36p Onethumb
  435. // Semi-final revisions complete, almost ready for first half beta
  436. //